<template>
  <div>
    
    <daiying :daiyinglist="daiyinglist"></daiying>
    <qidai :qidailist="qidailist"></qidai>
  </div>
 
</template>

<script>
import axios from "axios";
//引入好评电影
import daiying from "@/components/wait/daiying";
import qidai from "@/components/wait/qidai";
export default {
  name: "wait", 
   data:function(){
      return {
        daiyinglist:[],
        qidai:"",
      }
   },
   mounted(){
      axios.get("ajax/mostExpected?ci=30&limit=10&offset=0&token=&optimus_uuid=635A6E70C91111EBAC84911FC2FC364751E7077CBCCF4CCE9C2BAEB20B6FAF06&optimus_risk_level=71&optimus_code=10").then((res)=>{
        console.log(res)
         var daiyinglist = res.data.coming;
       daiyinglist.forEach((item) => {
         item.img = item.img.replace("w.h", "64.90");
       });
       this.daiyinglist = daiyinglist;
      })
  
  

 },
   components:{
     daiying,
     qidai,
   }
};


</script>

<style>

</style>